<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:64:"/home/wwwroot/xichen.tv/public/../lib/admin/view/index/show.html";i:1512877414;s:66:"/home/wwwroot/xichen.tv/public/../lib/admin/view/layout/index.html";i:1512877413;s:65:"/home/wwwroot/xichen.tv/public/../lib/admin/view/public/meta.html";i:1512877413;s:67:"/home/wwwroot/xichen.tv/public/../lib/admin/view/public/script.html";i:1512877413;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta charset="utf-8">
<title><?php echo \think\Config::get('site_name'); ?>-后台管理-<?php echo config('zanpiancms.name'); ?>:<?php echo \think\Lang::get('zanpiancms_version'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="<?php echo $config['site']['cdnurl']; ?>admin/zanpiancms/images/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="<?php echo $config['site']['cdnurl']; ?>admin/zanpiancms/css/backend.min.css?v=<?php echo \think\Lang::get('zanpiancms_version'); ?>" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="<?php echo $config['site']['cdnurl']; ?>admin/zanpiancms/js/html5shiv.js"></script>
  <script src="<?php echo $config['site']['cdnurl']; ?>admin/zanpiancms/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
var require = {config:<?php echo json_encode($config); ?>};
</script>

    </head>

<div class="content">
<div class="panel-intro">
  <div class="panel-heading">
    <div class="panel-lead"><em>系统信息：</em><?php echo $nav_title['remark']; ?></div>
  </div>
 <div class="panel-body" style="background-color:#FFF;margin-bottom:20px;" >               
 <table id="table" class="table table-striped table-bordered table-hover" width="100%">
  <tbody>
                <tr>
                  <td width="130" align="right">程序版本：</td>
                  <td width="160"><?php echo \think\Lang::get('zanpiancms_version'); ?></td>
                  <td width="130" align="right">技术/BUG反馈：</td>
                  <td width="180"><?php echo config('zanpiancms.qq'); ?></td>
                  <td width="130" align="right">官方地址：</td>
                  <td width=""><a href="<?php echo config('zanpiancms.cmsurl'); ?>" target="_blank"><?php echo config('zanpiancms.cmsurl'); ?></a></td>
                </tr>                
                <tr>
                  <td width="130" align="right">服务器系统：</td>
                  <td width="160"><?php echo PHP_OS; ?></td>
                  <td width="130" align="right">WEB服务器：</td>
                  <td width="340" colspan="3"><?php echo $_SERVER['SERVER_SOFTWARE']; ?>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo admin_url('admin/index/phpinfo'); ?>" target="_blank">查看PHPINFO</a></td>
                </tr>
                <tr>
                  <td align="right">安装目录：</td>
                  <td><?php echo \think\Config::get('site_path'); ?></td>
                  <td align="right">服务器IP/端口：</td>
                  <td><?php echo ' ('.$_SERVER['SERVER_ADDR'].':'.$_SERVER['SERVER_PORT'].')'; ?></td>
                  <td align="right">Thinkphp版本：</td>
                  <td align="left"><?php echo THINK_VERSION ?></td>
                </tr>
                <tr>
                  <td align="right">文件上传：</td>
                  <td><?php echo get_cfg_var("file_uploads") ? get_cfg_var("upload_max_filesize") : $error; ?></td>
                  <td align="right">磁盘空间：</td>
                  <td align="left"><?php echo floor(disk_free_space(ROOT_PATH) / (1024*1024)).'M' ?></td>
                  <td align="right">GD图形库：</td>
                  <td><?php $gd = @gd_info(); echo $gd['GD Version'] ? $gd['GD Version'] : $error; ?></td>
                </tr>
                  </tbody>
                  </table>
           
 <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                   <tbody>
                  <tr>
                  <td width="180" align="right">函数/模块</td>
                  <td width="110"></td>
                  <td width="130" align="right">所需状态</td>
                  <td width="180"></td>
                  <td width="130" align="right"></td>
                  <td width="">当前状态</td>
                </tr>                
               
                <?php if(is_array($func) || $func instanceof \think\Collection || $func instanceof \think\Paginator): $i = 0; $__LIST__ = $func;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
                <tr>
                  <td width="180" align="right"><?php echo $item[0]; ?>()</td>
                  <td width="110"></td>
                  <td width="130" align="right">支持</td>
                  <td width="180"></td>
                  <td width="130" align="right"></td>
                  <td width=""><?php echo $item[1]; ?></td>
                </tr>
                <?php endforeach; endif; else: echo "" ;endif; ?>
                
                  <tr>
                  <td width="180" align="right">目录/文件</td>
                  <td width="110"></td>
                  <td width="130" align="right">所需状态</td>
                  <td width="180"></td>
                  <td width="130" align="right"></td>
                  <td width="">当前状态</td>
                </tr>
                
                <?php if(is_array($dirfile) || $dirfile instanceof \think\Collection || $dirfile instanceof \think\Paginator): $i = 0; $__LIST__ = $dirfile;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
                <tr>
                  <td width="180" align="right"><?php echo $item[4]; ?></td>
                  <td width="110"></td>
                  <td width="130" align="right"><?php echo $item[1]; ?></td>
                  <td width="180"></td>
                  <td width="130" align="right"></td>
                  <td width=""><?php echo $item[2]; ?></td>
                </tr>
                <?php endforeach; endif; else: echo "" ;endif; ?>
              </tbody>
                    </table>

    </div>
</div></div>  
        <script src="<?php echo $config['site']['cdnurl']; ?>admin/zanpiancms/js/require.js" data-main="<?php echo $config['site']['cdnurl']; ?>admin/zanpiancms/js/require-backend.min.js?v=<?php echo \think\Lang::get('zanpiancms_version'); ?>"></script>
    </body>
</html>